package mylab.starters.oss.support.minio.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * <p>
 * MinIO 策略
 * </p>
 */
@Getter
@AllArgsConstructor
public enum PolicyType {

    /**
     * 只读
     */
    READ("read", "只读"),

    /**
     * 只写
     */
    WRITE("write", "只写"),

    /**
     * 读写
     */
    READ_WRITE("read_write", "读写");

    /**
     * 类型
     */
    private String type;
    /**
     * 描述
     */
    private String policy;

}
